#!/bin/bash

dir=$(dirname $0)
inFile="$1"
newFile="${dir}/new.txt"

cat $inFile | grep http | sed -e "s/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/" >> $newFile
